package gnssio

type CommWriter struct {
	comm I_Comm
}

func NewCommWriter(comm I_Comm) *CommWriter {
	return &CommWriter{comm: comm}

}

func (this *CommWriter) Write(p []byte) (n int, err error) {
	n = this.comm.Send(p, len(p))
	return n, nil
}
